package com.jia.springcloud.dao;

import com.jia.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author 1038940655
 * @create 2021/1/19 15:52
 */

@Repository
@Mapper
public interface PaymentDao {

    /**
     * 添加付款信息dao层
     * @param payment
     * @return
     */
    public abstract int create(Payment payment);

    /**
     * 通过id获得付款信息dao层
     * @param id
     * @return
     */
    public abstract Payment getPaymentById(Integer id);
}
